package com.shoulder.log.printer;

import com.shoulder.core.utils.JsonUtils;
import com.shoulder.log.Log;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class LogstashLogPrinter implements LogPrinter {
    @Override
    public void print(Log logInfo) {
        log.info("logstash 记录日志:{}", JsonUtils.obj2Json(logInfo));
    }
}
